function func(x:number,y?:string):number{
    if (y){
        // ？就是可选项
        console.log(y)
    }else{
        console.log(x)
    }
    return 1
}
let jj=func(1,'hasaki')